#include<stdio.h>
int main()
{
  int hua,c;
  scanf("%d",&hua);
  printf("Celsius = %d\n",5*(hua-32)/9);
  return 0;
}